Is to check the length of something, you place that something inside the brackets and it will check the length, you can then use that to do what you did
PHP Code:
strlen($_POST['username']) > 0
That checks to see if the username is longer than 0 so is it there?
As far as i know its used, for example to see if the button has been clicked like the example i gave.