hasState

Returns whether there exists a state for a child matching the provided fragment.