JQuery how to determine if element is visible or display is none

JQuery how to determine if element is visible or display is none

[javascript]
if ( $(‘#add-more-div’).is(‘:visible’) ) {

//do something here

}
[/javascript]