moved rotation check to static function after code review remarks SUP-8470 #time 0.1h
moved rotation check to static function after code review remarks
SUP-8470 #time 0.1h

DBezemer/server,DBezemer/server,DBezemer/server,kaltura/server,kaltura/server,kaltura/server,DBezemer/server,kaltura/server,DBezemer/server,DBezemer/server,kaltura/server,DBezemer/server,DBezemer/server,kaltura/server