Check If Array Includes Object Javascript Methods Syntax