Check if an ImportEndpoint has specifications

An ImportEndpoint can have 0 specification (non-null result of
getSpecifications) if the endpoint it represents has no corresponding
Java interface.