A function that check if a string is a valid JSON Pointer following the RFC 6901
Returns a boolean if the path argument is a string that follows the RFC 6901 JSON Pointer standart.
The param path should be a string, and the default value is the empty string.