Action from 3.x rep

GameObjectIsActiveInHierarchy moved from the 3.x rep. Can use IsActive
in 3.x which is similar.