def recipe_is_complete(r):
    """Return True if recipe is complete and False otherwise.

    Completeness is defined as the recipe containing a title and instructions.
    """
    if ('title' not in r) or ('instructions' not in r):
        return False
    if (r['title'] is None) or (r['instructions'] is None):
        return False
    return True