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