enriching interface for has operation, allow nodes and links as
parameters