Matlab Check Empty Array In Python Documentation Functions