Look for folder /sys/firmware/efi
ls /sys/firmware/efi
If folder is there then its UEFI otherwise its BIOS