| 971 | } |
| 972 | |
| 973 | bool ProcessSession::existsFlowFileInRelationship(const Relationship &relationship) { |
| 974 | return std::any_of(_transferRelationship.begin(), _transferRelationship.end(), |
| 975 | [&relationship](const std::map<utils::Identifier, Relationship>::value_type &key_value_pair) { |
| 976 | return relationship == key_value_pair.second; |
| 977 | }); |
| 978 | } |
| 979 | |
| 980 | } // namespace core |
| 981 | } // namespace minifi |
no test coverage detected