@staticmethod
def failed_to_resolve(output):
    """
        if we connect well with the target | no target found
        :param output:
        :return:
        """
    if ('Nmap done: 0 IP addresses (0 hosts up)' in output or 
        'Nmap done: 1 IP address (0 hosts up)' in output):
        print('Failed to resolve the target | no target found')
        return 0
    return 1
