code: def _is_physical_entity(pe):
      
      val = isinstance(pe, _bp('PhysicalEntity')) or \
              isinstance(pe, _bpimpl('PhysicalEntity'))
      return val
docs: Return True if the element is a physical entity