def checkCriteria(criteria, failed = False):
    """
        This function is an input exclusive function that returns a True or False
    """
    if failed == False:
        # gathers the input from the user
        resp = input('Would you like ' + criteria + ' to be enabled: ').lower()

        # returns the necessary end result until specifications are met
        if resp == 'yes' or resp == 'y':
            return True
        elif resp == 'no' or resp == 'n':
            return False
        else:
            return checkCriteria(criteria, True)
    else:
        # gathers the input from the user
        resp = input('Please put only yes/y or no/n: ').lower()

        # returns the necessary end result until specifications are met
        if resp == 'yes' or resp == 'y':
            return True
        elif resp == 'no' or resp == 'n':
            return False
        else:
            return checkCriteria(criteria, True)