How is construct function working even when variable is assigned null value?

It’s possible to pass variables to class constructs.

$blarg = new Marks_Manage( 'string' );

Now the conditional if( $marks ) returns true.

If nothing is passed to the class construct:

$blarg = new Marks_Manage();

Then $marks would be null and if( $marks ) evaluate as false;