The most reliable way to detect the presence of life on a planet would be by determining whether or not its atmosphere contains methane
This is because methane completely disappears from a planet' s atmosphere through various chemical reactions unless it is constantly replenished by the biological processes of living beings
Not all living beings have the ability to biologically produce methane.