Check if self.view exists