Add check for AliRun object