Hoje não há forma de verificar se uma classe estende outra ou implementa uma determinada interface. Acredito que a melhor forma de implementar seja com anotation. @ShouldExtend("AlgumaClasse") @ShouldImplements("AlgumaInterface").
Exemplo:
@ShouldImplements("Command", "This class should implement the command interface")
public class SomeCommand{
}