Send data securely via curl

is it possible to check with php, whether ssl is supported with current curl extension?