Javascript Check Array Includes Python Documentation