An action to determine and quiet the title of real property may be brought by anyone, whether in or out of possession, having or claiming an interest therein, against any person claiming title thereto, though not in possession.