Determine if input is object of class 'single'