Function isFlexChild

Returns true if the given element's parent has a flex layout. If direction is given, then it also needs to match.

v1.2.0