allow something like empty ( $a->b ()->c );