code: public boolean hasChildScope(ScopeType type, String name) {
          log.debug("Has child scope? {} in {}", name, this);
          return children.getBasicScope(type, name) != null;
      }
docs: Check whether scope has child scope with given name and type
  
  @param type Child scope type
  @param name Child scope name
  @return true if scope has child node with given name and type, false otherwise