code: def get_functionalHome(self, functionalHomeType: type) -> FunctionalHome:
          
          for x in self.functionalHomes:
              if isinstance(x, functionalHomeType):
                  return x
  
          return None
docs: gets the specified functionalHome
          
          Args:
              functionalHome(type): the type of the functionalHome which should be returned
  
          Returns:
              the FunctionalHome or None if it couldn't be found