Check that input port exists