Summary: Handling the utility functions for asserting that we're on background thread. Reviewed By: jberdine Differential Revision: D5863435 fbshipit-source-id: 3ad95b5