isValue() checks for reference