Hereditary property of topological spaces