I don't think there's really a universal way to tell if a container is safe or not. The majority of containers in a player-owned house will be safe.
For Battlehorn Castle, you can find a list of safe containers http://www.uesp.net/wiki/Oblivion:Battlehorn_Castle_(place)#Safe_Containers.