'Edges one hop out from a node in the mapping should be
time-respecting with respect to each other.'

def one_hop(self, Gx, Gx_node, neighbors):

    dates = []
    for n in neighbors:
        if (type(Gx) == type(nx.Graph())):
            dates.append(Gx[Gx_node][n][self.temporal_attribute_name])
        else:
            for edge in Gx[Gx_node][n].values():
                dates.append(edge[self.temporal_attribute_name])
    if any(((x is None) for x in dates)):
        raise ValueError('Datetime    not    supplied    for    at    least    one    edge.')
    return ((not dates) or ((max(dates) - min(dates)) <= self.delta))
