# canInlineFeature method

1. @override

bool canInlineFeature(

1. List <XMLNode> features

)
override

Called by the SASL2 negotiator to find out whether the negotiator is willing to inline a feature. `features` is the list of elements inside the <inline> element.</inline>

## Implementation

    @override
    bool canInlineFeature(List<XMLNode> features) {
      return features.firstWhereOrNull(
            (child) => child.tag == 'bind' && child.xmlns == bind2Xmlns,
          ) !=
          null;
    }