Check for impersonation simpler and unprivated LayoutController isImpers...

...onated and findWorkspacesFromLogs to reuse them in parent class.