()
| 112 | return a.Type == "Person" || a.Type == "LocalPerson" |
| 113 | } |
| 114 | |
| 115 | // IsLocal indicates whether the actor is local to the instance. |
| 116 | func (a *Actor) IsLocal() bool { |
| 117 | switch a.Type { |
| 118 | case "LocalPerson", "LocalService": |
| 119 | return true |