public boolean isStaticMock(Class<?> clazz) {
    requireNonNull(clazz);
    MockHandler<?> mockHandler = inlineMockMaker.getHandler(clazz);
    return mockHandler instanceof SpockMockHandler;
  }
Resolves the inline mock maker of Mockito, via different ways, depending on the Mockito version.

@return The inline mock maker of Mockito
spock-core/src/main/java/org/spockframework/mock/runtime/mockito/MockitoMockMakerImpl.java