public boolean hasTarget(final SpringBeansTargetScope scope) {
        for (SpringBeansTarget target : this.targets.values()) {
            if (target.getScope() == scope) {
                return true;
            }
        }

        return false;
    }
@author Jongho Moon
@author jaehong.kim
agent-module/plugins/spring/src/main/java/com/navercorp/pinpoint/plugin/spring/beans/SpringBeansConfig.java