This method returns FALSE if $model is not an instance of yii\base\Component or if none of its
attached behaviors is a or inherit from SimpleWorkflowBehavior.
public static isAttachedTo ( |
||
$model | the model to test. | |
return | boolean | TRUE if at least one SimpleWorkflowBehavior behavior is attached to $model, FALSE otherwise |