def determine_cursor(response):
    """
    Function to determine whether a response ahs a cursor or not

    :param response: Response of the URL as a json object
    :return: Nonetype or the Cursor String if cursor was present in the response
    """
    if 'cursor' in response:
        cursor = response['cursor']
    else:
        cursor = None

    return cursor