Create RC safety check function