Returns true if this hook should handle or transform styles for fragment.
fragment
bool appliesTo(List<String>? styles, Fragment fragment);