code: def find_class_in_list(klass, lst):
      
      filtered = list(filter(lambda x: x.__class__ == klass, lst))
      if filtered:
          return filtered[0]
      return None
docs: Returns the first occurrence of an instance of type `klass` in 
      the given list, or None if no such instance is present.