def get_object_location(object):
    """ Retrieves the location of an object.

    Parameters:
        object (obj): Object to get location.

    Returns:
        list: Object location.
    """
    return list(object.location)