/*
(non-Javadoc)

@see com.ibm.ws.sib.processor.impl.interfaces.DestinationHandler#hasLocal()
501583
@Override
    public boolean hasLocal()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "hasLocal");

        boolean hasLocal = getLocalisationManager().hasLocal();

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "hasLocal", Boolean.valueOf(hasLocal));

        return hasLocal;
    }
125752
public <T> Local<T> newLocal(TypeId<T> type) {
        if (localsInitialized) {
            throw new IllegalStateException("Cannot allocate locals after adding instructions");
        }
        Local<T> result = Local.get(this, type);
        locals.add(result);
        return result;
    }
947220
public void setLocal()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "setLocal", Boolean.valueOf(_hasLocal));

    _hasLocal = true;

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "setLocal");
  }
772180
public boolean doLocalCriteria(StringBuffer strFilter, boolean bIncludeFileName, Vector<BaseField> vParamList)
    {   // Default BaseListener
        return super.doLocalCriteria(strFilter, bIncludeFileName, vParamList);    // If can't handle remote
    }
1363840
public boolean isLocalBranch(final Git git, final String branch) {
        try {
            final List<Ref> refs = git.branchList().call();
            return refs.stream()
                .anyMatch(ref -> ref.getName().endsWith(branch));
        } catch (GitAPIException e) {
            throw new IllegalStateException(e);
        }
    }
260575
public void setPreferLocal(boolean preferLocal)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        {
            SibTr.entry(tc, "setPreferLocal", Boolean.valueOf(preferLocal));
            SibTr.exit(tc, "setPreferLocal");
        }
        this.preferLocal = preferLocal;
    }
301281
public void setNoLocal(boolean noLocal)
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "setNoLocal", new Boolean(noLocal));

    this.noLocal = noLocal;

    if (tc.isEntryEnabled())
      SibTr.exit(tc, "setNoLocal");
  }
683690
public function isLocal()
    {
        if($this->hasValidResource()) {
            return stream_is_local($this->resource);
        }
        if ($url = $this->url()) {
            return stream_is_local("$url");
        }
        return false;
    }
1111981
public static boolean isLocalFileUri(@Nullable Uri uri) {
    final String scheme = getSchemeOrNull(uri);
    return LOCAL_FILE_SCHEME.equals(scheme);
  }
33859
public void setLocal(final int i, final V value)
            throws IndexOutOfBoundsException {
        if (i >= locals) {
            throw new IndexOutOfBoundsException(
                    "Trying to access an inexistant local variable " + i);
        }
        values[i] = value;
    }
750035
private static boolean isLocalDefaultValueAssignment(Node targetNode, Node valueNode) {
    return valueNode.isOr()
        && targetNode.isQualifiedName()
        && valueNode.getFirstChild().isEquivalentTo(targetNode)
        && NodeUtil.evaluatesToLocalValue(valueNode.getLastChild());
  }
1355365
public <T> T getLocal (Class<T> key)
    {
        for (Object attr : _locattrs) {
            if (key.isInstance(attr)) {
                return key.cast(attr);
            }
        }
        return null;
    }
689640
@TargetApi(Build.VERSION_CODES.FROYO)
    public static boolean hasNetworkLocationFeature(Context context) {
        return hasNetworkLocationFeature(context.getPackageManager());
    }
1314314
public void setNoLocal(boolean noLocal)
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(this, tc, "setNoLocal", Boolean.valueOf(noLocal));

        this.noLocal = noLocal;

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(this, tc, "setNoLocal");
    }
916762
public void setLocal()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "setLocal");

        getLocalisationManager().setLocal();

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "setLocal");
    }
1081735
public function isLocal() : bool
   {

      if ( $this->states[ 'LOCAL' ] ) { return true; }
      if ( null === $this->_sld ) { return false; }
      return $this->_sld->isLocal();

   }
216043
public boolean destinationMatches(DestinationHandler destinationHandlerToCompare,
                                    JSConsumerManager consumerDispatcher)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "destinationMatches", new Object[] {destinationHandlerToCompare, consumerDispatcher});

    //For remote get, at the destination localising ME, the destination attached
    //to is never an alias as the alias resolution is done at the getting ME
    boolean matches = (consumerDispatcher.getDestination() == destinationHandlerToCompare);

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "destinationMatches", Boolean.valueOf(matches));

    return matches;
  }