def superseeded_by(self, other_service):
if not other_service orother_service.__class__ != self.__class__ orother_service.protocol != self.protocol orother_service.port != self.port:<EOL><INDENT>return False<EOL><DEDENT>return not self.device_credentials and other_service.device_credentials<EOL>
Return True if input service has login id and this has not.