Was Sang Nila Utama a real person, or a fictional character existing in social studies books?

The only record of the Palembang prince was in the Sejarah Melayu, or the Malay Annals.