inspect attr method