def has_port_profile_to_delete(self, profile_name, device_id):
count = self.session.query(ucsm_model.PortProfileDelete).filter_by(<EOL>profile_id=profile_name, device_id=device_id).count()<EOL>return count != <NUM_LIT:0><EOL>
Returns True if port profile delete table containes PP.