Not really... Yoda conditions are "null repository class name is..." (null === $var)