function isFunctionExpression(node) {
    return node.type === 'FunctionExpression' || node.type === 'ArrowFunctionExpression';
}
Returns true if function expression is passed.

@param {Node} node
@returns {Boolean}