Theory of mind in typical and atypical developmental settings: some considerations from a contextual perspective