gbmodel/model_sqlalchemy.py
def check_term_name(self, s_term):
        """
        Checks if the name of the term is valid
        Input: start term of new session
        Output: return True if valid, False otherwise
        """
        s_term = s_term.strip().lower()
        terms = ["fall", "winter", "spring", "summer"]
        for i in range(len(terms)):
            if terms[i] == s_term:
                return True
        return False

        Checks if the name of the term is valid
        Input: start term of new session
        Output: return True if valid, False otherwise
        
Checks if the name of the term is valid
Input: start term of new session
Output: return True if valid, False otherwise
Checks if the name of the term is valid Input : start term of new session Output : return True if valid False otherwise
def check_term_name(self, s_term):
        s_term = s_term.strip().lower()
        terms = ["fall", "winter", "spring", "summer"]
        for i in range(len(terms)):
            if terms[i] == s_term:
                return True
        return False
def check_term_name ( self , s_term ) : s_term = s_term . strip ( ) . lower ( ) terms = [ "fall" , "winter" , "spring" , "summer" ] for i in range ( len ( terms ) ) : if terms [ i ] == s_term : return True return False
Checks if the name of the term is valid
Input: start term of new session
Output: return True if valid, False otherwise
Checks if the name of the term is valid Input : start term of new session Output : return True if valid False otherwise
"""
        Checks if the name of the term is valid
        Input: start term of new session
        Output: return True if valid, False otherwise
        """
self
s_term