function flowCheck(prop) {
      return (
        prop.type === 'ObjectTypeProperty'
        && prop.value.type === 'BooleanTypeAnnotation'
        && rule.test(getPropName(prop)) === false
      );
    }
Checks if prop is declared in flow way
@param {Object} prop Property object, single prop type declaration
@returns {boolean}