Airship\Cabin\Bridge\Landing\Account::findMotif PHP Method

findMotif() protected method

Is this motif part of this cabin?
protected findMotif ( array $motifs, string $supplier, string $motifName ) : boolean
$motifs array
$supplier string
$motifName string
return boolean
    protected function findMotif(array $motifs, string $supplier, string $motifName) : bool
    {
        foreach ($motifs as $id => $data) {
            if ($data['config']['supplier'] === $supplier && $data['config']['name'] === $motifName) {
                return true;
            }
        }
        return false;
    }