check for the body being defined