def thor_object_in_receptacle(object_id, possible_receptacle):
    """
    Uses the "receptacleObjectIds" field to check.
    Args:
        object_id (str): id of object to be checked
        possible_receptacle (dict): Object dictionary returned by Thor

    Returns:
        True if object is in receptacle
    """
    if possible_receptacle["receptacle"]:
        return object_id in possible_receptacle["receptacleObjectIds"]
    return False