test for HasStep
reimplement has without super call, add tests for ID and Label
using generic type T doesn't have any benefit here, use Any instead
fix types: now returns ScalaVertex / ScalaElement instead of Nothing