Create a function that returns true if the input is a scalar value (i.e. of size 1×1) of class type double and false otherwise.
• Function Name: is Scalar
• Input: single input which may be any data class
• Output:
the output is true or false
• Useful functions: size(), class(), strncmp()