code: def checkProjectAreaID(self, projectarea_id, archived=False):
          
  
          self.log.debug("Check the validity of the ProjectArea id: %s",
                         projectarea_id)
  
          proj_areas = self._getProjectAreas(archived=archived,
                                             projectarea_id=projectarea_id)
          if proj_areas is not None:
              proj_area = proj_areas[0]
              self.log.info("Find <ProjectArea %s> whose id is: %s",
                            proj_area,
                            projectarea_id)
              return True
  
          self.log.error("No ProjectArea whose id is: %s",
                         projectarea_id)
          return False
docs: Check the validity of :class:`rtcclient.project_area.ProjectArea` id
  
          :param projectarea_id: the :class:`rtcclient.project_area.ProjectArea`
              id
          :param archived: (default is False) whether the project area is
              archived
          :return: `True` or `False`
          :rtype: bool