default IMockObject asMockOrNull(Object object) {
    return null;
  }
Returns information about a mock object, or {@code null} if the object is not a mock from this {@code IMockMaker}.

<p>Implementation Note:
An {@code IMockMaker} must provide the means to identify if a certain object is a mock or not,
and needs to return an attached {@link IMockObject} from this method call.
If the mock instance implements {@link ISpockMockObject}, this method can simply return {@code null}.

@param object a potential mock object
@return information about the mock object or {@code null}
spock-core/src/main/java/org/spockframework/mock/runtime/IMockMaker.java