internal functions exercise adding PHP empty() function