def note_favorite(note):
    """
    get the status of the note as a favorite

    returns True if the note is marked as a favorite
            False otherwise
    """
    if 'favorite' in note:
        return note['favorite']
    return False