Returns whether this site supports the default user picture feature.
This approach preserves compatibility with node/comment templates. Alternate user picture implementations (e.g., Gravatar) should provide their own add/edit/delete forms and populate the 'picture' variable during the preprocess stage.
function user_picture_enabled() {
return (bool) field_info_instance('user', 'user_picture', 'user');
}