@Override
    public boolean hasBean(Class<?> interfaceType) {
        if (hasBeanInCurrentScope(interfaceType)) {
            return true;
        }

        if (this.parent != null) {
            return this.parent.hasBean(interfaceType);
        }

        return false;
    }