<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _is_physical_entity(pe):
 """Return True if the element is a physical entity"""

    val = isinstance(pe, _bp('PhysicalEntity')) or \
            isinstance(pe, _bpimpl('PhysicalEntity'))
    return val