Null check for shrines.