Angular Check Array Is Empty Python Function Overloading And Operator