mast/tools/sis_authentication.py
def __authenticate_employee(name, surname):
    """
    Checks if such employee exits when asked at is.cuni.cz/studium/kdojekdo
    :param name: name
    :param surname: surname
    :return: True if such person exists, False otherwise
    """
    url = __build_url(is_employee=True, name=name, surname=surname)
    page = requests.get(url)
    nubmer_of_results = __get_number_of_employees(page=page)

    if int(nubmer_of_results) >= 1:
        return True
    return False

    Checks if such employee exits when asked at is.cuni.cz/studium/kdojekdo
    :param name: name
    :param surname: surname
    :return: True if such person exists, False otherwise
    
Checks if such employee exits when asked at is.cuni.cz/studium/kdojekdo
Checks if such employee exits when asked at is . cuni . cz / studium / kdojekdo
def __authenticate_employee(name, surname):
    url = __build_url(is_employee=True, name=name, surname=surname)
    page = requests.get(url)
    nubmer_of_results = __get_number_of_employees(page=page)
    if int(nubmer_of_results) >= 1:
        return True
    return False
def __authenticate_employee ( name , surname ) : url = __build_url ( is_employee = True , name = name , surname = surname ) page = requests . get ( url ) nubmer_of_results = __get_number_of_employees ( page = page ) if int ( nubmer_of_results ) >= 1 : return True return False
Checks if such employee exits when asked at is.cuni.cz/studium/kdojekdo
Checks if such employee exits when asked at is . cuni . cz / studium / kdojekdo
"""
    Checks if such employee exits when asked at is.cuni.cz/studium/kdojekdo
    :param name: name
    :param surname: surname
    :return: True if such person exists, False otherwise
    """
True if such person exists, False otherwise
True if such person exists False otherwise
name
None
surname
None