def name_in_class(input_name, input_class):
  """Method that checks if a student's name is in a class"""
  # first, change the name to lower case
  student_name = input_name.lower()
  # now loop through each name in the input class 
  for candidate in input_class:
    # see if the candidate name contains the student name
    if candidate.lower().find(student_name) != -1:
      return True
  # if we get through the entire class and it's not true, return False
  return False