def is_palindrome(phrase):
    """Is phrase a palindrome?

    Return True/False if phrase is a palindrome (same read backwards and
    forwards).

        >>> is_palindrome('tacocat')
        True

        >>> is_palindrome('noon')
        True

        >>> is_palindrome('robert')
        False

    Should ignore capitalization/spaces when deciding:

        >>> is_palindrome('taco cat')
        True

        >>> is_palindrome('Noon')
        True
    """
    new_phrase = phrase.replace(" ", "")
    new_phrase2 = new_phrase.lower()
    reverse = new_phrase2[::-1]

    if new_phrase2 == reverse:
        return True
    else:
        return False